package com.ctibook.booksystem.model.books.common;

public abstract class ZipAndXmlRequireParseUploadFileRecord extends UploadFileRecord {
	
	public ZipAndXmlRequireParseUploadFileRecord(){
		fileType=".zip";
	}
	/**
	 * 是否已解析
	 */
	protected boolean parsed=false;
	
	/**
	 * 是否解析成功
	 */
	protected boolean parseSuccess=false;
	/**
	 * 是否校验ISBN
	 */
	protected boolean checkedIsbn=true;

	/**
	 * 错误信息
	 */
	protected String errorMsg;
	
	/**
	 * marc总记录数
	 */
	protected int totalMarcRecordCount=0;
	
	/**
	 * 正确解析记录数
	 */
	protected int correctMarcRecordCount=0;
	
	/**
	 * 数据库中不存在添加到数据库中的记录数
	 */
	protected int intoDbMarcRecordCount=0;
	
	public boolean isCheckedIsbn() {
		return checkedIsbn;
	}

	public void setCheckedIsbn(boolean checkedIsbn) {
		this.checkedIsbn = checkedIsbn;
	}


	public int getCorrectMarcRecordCount() {
		return correctMarcRecordCount;
	}

	
	public String getErrorMsg() {
		return errorMsg;
	}
	
	public int getIntoDbMarcRecordCount() {
		return intoDbMarcRecordCount;
	}

	public boolean getParsed() {
		return parsed;
	}

	public boolean getParseSuccess() {
		return parseSuccess;
	}

	public int getTotalMarcRecordCount() {
		return totalMarcRecordCount;
	}

	public void setCorrectMarcRecordCount(int correctMarcRecordCount) {
		this.correctMarcRecordCount = correctMarcRecordCount;
	}
	
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public void setIntoDbMarcRecordCount(int intoDbMarcRecordCount) {
		this.intoDbMarcRecordCount = intoDbMarcRecordCount;
	}

	public void setParsed(boolean parsed) {
		this.parsed = parsed;
	}

	public void setParseSuccess(boolean parseSuccess) {
		this.parseSuccess = parseSuccess;
	}

	public void setTotalMarcRecordCount(int totalMarcRecordCount) {
		this.totalMarcRecordCount = totalMarcRecordCount;
	}
}
